package com.wuwei.elearning.question.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuwei.elearning.question.domain.QuestionItemRaletionQuestion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 该表为question_item与quetion表的对应关系表，表示的是每出一套卷子都会生成试卷与考题的对应关系，该关系为多对多 Mapper 接口
 * </p>
 *
 * @author wuwei
 * @since 2024-01-19
 */
public interface QuestionItemRaletionQuestionMapper extends BaseMapper<QuestionItemRaletionQuestion> {

    Integer MyBatchInsert(@Param("questionItemId") Long questionItemId, @Param("questionIds") List<Long> questionIds);

}
